package com.example.moneybook.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.moneybook.dto.ResponseResult;
import com.example.moneybook.pojo.Bill;

import java.text.ParseException;

/**
 * @Author: 包
 * @Date: 2023/2/18 20:12
 * Description:
 */
public interface StatisticsService extends IService<Bill> {

    /**
     * 加载统计页数据
     * @param userId
     * @param billDate
     * @return
     */
    public ResponseResult statisticsLoad(String userId, String billDate, int state) throws ParseException;

    public ResponseResult billByType(String userId, String billDate, String billType, int sortType, int state);
}
